// 详情页面字段配置
export const DETAIL_FIELDS = [
  {
    label: '名称',
    width: 120,
    prop: 'name',
    valueType: 'copy',
  },
  {
    label: '状态',
    width: 120,
    prop: 'status',
    valueType: 'select',
    options: [
      {
        label: '未解决',
        value: '0',
        color: 'red',
      },
      {
        label: '已解决',
        value: '1',
        color: 'blue',
      },
      {
        label: '解决中',
        value: '2',
        color: 'yellow',
      },
      {
        label: '失败',
        value: '3',
        color: 'red',
      },
    ],
  },
  {
    label: '标签',
    width: 120,
    prop: 'tag',
    valueType: 'tag',
  },
  {
    label: '执行进度',
    width: 200,
    prop: 'progress',
    valueType: 'progress',
  },
  {
    label: '代码块',
    width: 250,
    prop: 'code',
    valueType: 'code',
  },
  {
    label: '评分',
    width: 200,
    prop: 'rate',
    valueType: 'rate',
  },
  {
    label: '开关',
    width: 100,
    prop: 'switch',
    valueType: 'switch',
  },
  {
    label: '时间',
    width: 190,
    prop: 'time',
    valueType: 'date-picker',
  },
]
